package org.asiainfo.common.websocket.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * websocket配置项
 *
 * @author dotor-ww
 */
@Data
@ConfigurationProperties("websocket")
public class WebSocketProperties {
    /**
     * 是否开启
     */
    private Boolean enabled;
    /**
     * 路径
     */
    private String path;
    /**
     * 设置访问源地址
     */
    private String allowedOrigins;
}
